/**
 * Copyright (C) 2010 EduSubmit Team (Ersin Er, Sukru Tikves)
 * 
 * This work can be distributed under the terms of 
 * GNU Library General Public License (LGPL) v2.1
 */
package info.edusubmit.services.contracts;

import java.util.Date;

/**
 * @author Sukru
 *
 */
public class AssignmentInformation {
	String course;
	String name;
	String id;
	Date startTime;
	Date endTime;
	Boolean visible;
	
	/**
	 * @param couse
	 * @param name
	 * @param startTime
	 * @param endTime
	 */
	public AssignmentInformation(String course, String id, String name, Date startTime,
			Date endTime, Boolean visible) {
		super();
		this.course = course;
		this.name = name;
		this.id = id;
		this.startTime = startTime;
		this.endTime = endTime;
		this.visible = visible;
	}

	/**
	 * @return the course name
	 */
	public String getCourse() {
		return course;
	}

	/**
	 * @return the assignment name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the start time
	 */
	public Date getStartTime() {
		return startTime;
	}

	/**
	 * @return the end time
	 */
	public Date getEndTime() {
		return endTime;
	}

	/**
	 * @return the assignment id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @return whether the assignment is publicly visible
	 */
	public Boolean getVisible() {
		return visible;
	}
}
